import request from '../utils/requestB'
export const userReg=(userObj)=>{
    return request.post('/users',userObj)
}

export const login=(userObj)=>{
    return request.get('/users',{params:userObj})
}